Determining
If a Driver Can Handle the Input Format
The following
example shows how to check the input format with the ICDrawQuery
// lpbiIn points to BITMAPINFOHEADER structure indicating
the input
// format.
if (ICDrawQuery(hIC, lpbiIn) == ICERR_OK)
{
// Driver
recognizes the input format.
}
else
{
// Need a
different decompressor.
}